using System;
using System.Collections.Generic;
using System.ComponentModel;
using DataService.Core.ModeCode;

namespace Data.Model.DaMeng
{
   [Serializable]
   [DataObject]
   public partial class PersonnelInfo
   {
      #region 属性


           ///<summary>ID</summary>
           [Fieldndex("PrimaryKey","")]
           [ColumnProperty(19,"bigint","ID")]
           public Int64 ID { get;set;}


           ///<summary>员工编号</summary>
           [ColumnProperty(50,"nvarchar","员工编号")]
           public String PersonnelNo { get; set; }


           ///<summary>员工姓名</summary>
           [Fieldndex("Index","")]
           [ColumnProperty(30,"nvarchar","员工姓名")]
           public String PersonnelName { get;set;}


           ///<summary>状态 0.其它 1.在职 2.离职</summary>
           [ColumnProperty(10,"int","状态 0.其它 1.在职 2.离职")]
           public Int32 Status { get; set;}


           ///<summary>工作状态 0.其它 1.已转正 2.试用期</summary>
           [ColumnProperty(10,"int","工作状态 0.其它 1.已转正 2.试用期")]
           public Int32 WorkStatus { get; set;}


           ///<summary>身份证号码</summary>
           [ColumnProperty(300,"varchar","身份证号码")]
           public String IDNo { get; set;}


           ///<summary>有效期</summary>
           [ColumnProperty(25,"varchar","有效期")]
           public String TermOfValidity { get; set; }


           ///<summary>是否删除</summary>
           [ColumnProperty(1,"bit","是否删除")]
           [ColumnDefaultValue("((0))")]
           public Boolean IsDelete { get; set;}


           ///<summary>有无职称</summary>
           [ColumnProperty(1,"bit","有无职称")]
           [ColumnDefaultValue("((0))")]
           public Boolean IsHaveTitle { get; set;}


           ///<summary>工龄</summary>
           [ColumnProperty(3,"DEC","工龄")]
           [ColumnDefaultValue("((0))")]
           public Decimal WorkYear { get; set;}


           ///<summary>学习形式</summary>
           [ColumnProperty(50,"nvarchar","学习形式")]
           public String LearningWay { get; set; }


           ///<summary>有无社保</summary>
           [ColumnProperty(1,"bit","有无社保")]
           [ColumnDefaultValue("((0))")]
           public Boolean IsHaveSocial { get; set;}


           ///<summary>最新缴纳时间</summary>
           [ColumnProperty(25,"varchar","最新缴纳时间")]
           public String SocialLastTime { get; set; }


           ///<summary>全日制学历</summary>
           [ColumnProperty(16,"VARCHAR","全日制学历")]
           public String FullTimeEducationConfigId { get; set; }


           ///<summary>全日制毕业院校</summary>
           [ColumnProperty(50,"nvarchar","全日制毕业院校")]
           public String FullTimeUniversity { get; set; }


           ///<summary>全日制专业</summary>
           [ColumnProperty(50,"nvarchar","全日制专业")]
           public String FullTimeMajor { get; set; }


           ///<summary>全日制毕业时间</summary>
           [ColumnProperty(25,"varchar","全日制毕业时间")]
           public String FullTimeGraduationTime { get; set; }


           ///<summary>全日制毕业证</summary>
           [ColumnProperty(1,"bit","全日制毕业证")]
           [ColumnDefaultValue("((0))")]
           public Boolean FullTimeDiploma { get; set;}


           ///<summary>全日制毕业证原件</summary>
           [ColumnProperty(1,"bit","全日制毕业证原件")]
           [ColumnDefaultValue("((0))")]
           public Boolean FullTimeDiplomaOriginal { get; set;}


           ///<summary>非全日制学历</summary>
           [ColumnProperty(16,"VARCHAR","非全日制学历")]
           public String PartTimeEducationConfigId { get; set; }


           ///<summary>非全日制毕业院校</summary>
           [ColumnProperty(50,"nvarchar","非全日制毕业院校")]
           public String PartTimeUniversity { get; set; }


           ///<summary>非全日制专业</summary>
           [ColumnProperty(50,"nvarchar","非全日制专业")]
           public String PartTimeMajor { get; set; }


           ///<summary>非全日制毕业时间</summary>
           [ColumnProperty(25,"varchar","非全日制毕业时间")]
           public String PartTimeGraduationTime { get; set; }


           ///<summary>非全日制毕业证</summary>
           [ColumnProperty(1,"bit","非全日制毕业证")]
           [ColumnDefaultValue("((0))")]
           public Boolean PartTimeDiploma { get; set;}


           ///<summary>非全日制毕业证原件</summary>
           [ColumnProperty(1,"bit","非全日制毕业证原件")]
           [ColumnDefaultValue("((0))")]
           public Boolean PartTimeDiplomaOriginal { get; set;}


           ///<summary>性别  1.男 0.女</summary>
           [ColumnProperty(1,"bit","性别  1.男 0.女")]
           public Boolean? Sex { get; set; }


           ///<summary>员工类型</summary>
           [ColumnProperty(50,"nvarchar","员工类型")]
           public String EmployeeType { get; set; }


           ///<summary>联系电话</summary>
           [ColumnProperty(11,"varchar","联系电话")]
           public String Phone { get; set; }


           ///<summary>资格证书</summary>
           [ColumnProperty(200,"nvarchar","资格证书")]
           public String CertificateNames { get; set; }


           ///<summary></summary>
           [ColumnProperty(10,"int","")]
           [ColumnDefaultValue("((0))")]
           public Int32 AuditState { get; set;}


           ///<summary>部门Id</summary>
           [ColumnProperty(16,"VARCHAR","部门Id")]
           [ColumnDefaultValue("('00000000-0000-0000-0000-000000000000')")]
           public String DepartmentId { get; set;}
      #endregion
   }
}

